package cn.app.service.impl;

import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import cn.app.dao.douban.DouBanDao;
import cn.app.entity.DouBanMV;
import cn.app.service.DouBanService;


@Service
@Transactional
public class DouBanServiceImpl implements DouBanService
{

	@Autowired
	private DouBanDao douBanDao;
	//查询所有电影
	@Override
	public List<DouBanMV> findAllMV1()
	{
		
		return douBanDao.findAllMV1();
	}

	//通过名字查电影
	@Override
	public List<DouBanMV> fornameList(String string)
	{
		// TODO Auto-generated method stub
		return douBanDao.fornameList(string);
	}


	
}
